package com.wander.datastructure;

import java.util.LinkedList;

public class Hello {
    public static void main(String[] args) {
        LinkedList<String> list = new LinkedList<>();
        list.add("Hello");

        ExtNumT extNumT = new ExtNumT();
        Hello.doNum(extNumT);

        int i = 0;
        for ( ; ; ) {
            i++;
            if (i > 5) {
                return;
            }
            System.out.println("for:" + i);
        }
    }

    public static <T extends Number> void doNum(T extNumT) {
        System.out.println("doNum()" + extNumT);
    }
}
